﻿using GN.Pay.Core.Entities;
using GN.Pay.TradeChannel.Transfers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GN.Pay.Core.Services
{
    /// <summary>
    /// 交易转账账簿服务
    /// </summary>
    public interface ITradeTransfersBookService : IPayService
    {
        /// <summary>
        /// 登账
        /// </summary>
        /// <param name="transfersApplyResult">转账申请结果</param>
        /// <param name="tradeTransfersApply">转账申请</param>
        /// <returns></returns>
        TradeTransfersBook Accounting(ITransfersApplyResult transfersApplyResult, out TradeTransfersApply tradeTransfersApply);
    }
}
